modified sine wave